﻿using System.IO;
using CthulhuDomain.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace Invaders.Test
{
//  public partial class InvadersFixture
//  {
//    [ClassCleanup]
//    public static void MyClassCleanup()
//    {
//    }

//    [ClassInitialize]
//    public static void MyClassInitialize(TestContext testContext)
//    {

//    }

//    [TestInitialize]
//    public void MyTestInitialize()
//    {
//      var gd = new MockedGraphicsDeviceService(DeviceType.Hardware, GraphicsProfile.HiDef);
//      gd.CreateDevice();

//      string activeConfinguration;
//#if DEBUG
//      activeConfinguration = "Debug";
//#else
//      activeConfinguration = "Release";

//#endif
//      contentManager = new ContentManager(gd.ServiceProvider)
//                         {
//                           RootDirectory = Path.GetFullPath(string.Format("../../../CthulhuInvaders/bin/x86/{0}/Content/",activeConfinguration))
//                         };
//    }

//    [TestCleanup]
//    public void MyTestCleanup()
//    {
//      ScoreManager.Reset();
//      contentManager = null;
//    }
//  }
}
